<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'survey-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'vendorID'); ?>
		<?php echo $form->textField($model,'vendorID'); ?>
		<?php echo $form->error($model,'vendorID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'survey_question'); ?>
		<?php echo $form->textField($model,'survey_question',array('size'=>60,'maxlength'=>500)); ?>
		<?php echo $form->error($model,'survey_question'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'html_control'); ?>
		<?php echo $form->textField($model,'html_control',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'html_control'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'html_options'); ?>
		<?php echo $form->textField($model,'html_options',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'html_options'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'count'); ?>
		<?php echo $form->textField($model,'count',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'count'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'created'); ?>
		<?php echo $form->textField($model,'created'); ?>
		<?php echo $form->error($model,'created'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'modified'); ?>
		<?php echo $form->textField($model,'modified'); ?>
		<?php echo $form->error($model,'modified'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->